package com.tanhua.dubbo.api;

import com.tanhua.model.enums.CommentType;
import com.tanhua.model.mongo.Comment;

import java.util.List;

/**
 * @author SunSun
 * @date 2021/10/28
 */
public interface CommentApi {

    List<Comment> findComments(String movementId, CommentType comment, Integer page, Integer pagesize);

    Integer save(Comment comment1);

    boolean likecomment(Long userId,String ID, CommentType like);

    Integer delete(Comment comment);

    Integer save1(Comment comment);

    Integer delete1(Comment comment);

    List<Comment> likes(Integer page, Integer pagesize, Long userId, CommentType like);

    Integer saveVideo(Comment comment);

    Integer deleteVideo(Comment comment);
}
